package io.gitee.thinkbungee;

import io.gitee.thinkbungee.componet.SatelliteComponent;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 配置
 *
 * @author chenyichang
 * @since 2022/1/27
 */
@ConfigurationProperties(prefix = "spring.satellite")
@RefreshScope
@Data
public class SatelliteProperties {

    /**
     * 组件
     */
    private SatelliteComponent component;

}
